package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author smith
 * @since 2025-05-21
 */
public class Flow implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 流水id
     */
    @TableId(value = "flow_id", type = IdType.AUTO)
    private Integer flowId;

    /**
     * 流水编号
     */
    private String flowNumber;

    /**
     * 订单id
     */
    private Integer orderId;

    /**
     * 用户id
     */
    private Integer custId;

    /**
     * 实际支付价格
     */
    private Float payPrice;

    /**
     * 支付时间
     */
    private LocalDateTime payCreateTime;

    private LocalDateTime payUpdateTime;

    /**
     * 支付状态
     */
    private Integer status;

    private String other1;

    private String other2;

    public Integer getFlowId() {
        return flowId;
    }

    public void setFlowId(Integer flowId) {
        this.flowId = flowId;
    }
    public String getFlowNumber() {
        return flowNumber;
    }

    public void setFlowNumber(String flowNumber) {
        this.flowNumber = flowNumber;
    }
    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }
    public Integer getCustId() {
        return custId;
    }

    public void setCustId(Integer custId) {
        this.custId = custId;
    }
    public Float getPayPrice() {
        return payPrice;
    }

    public void setPayPrice(Float payPrice) {
        this.payPrice = payPrice;
    }
    public LocalDateTime getPayCreateTime() {
        return payCreateTime;
    }

    public void setPayCreateTime(LocalDateTime payCreateTime) {
        this.payCreateTime = payCreateTime;
    }
    public LocalDateTime getPayUpdateTime() {
        return payUpdateTime;
    }

    public void setPayUpdateTime(LocalDateTime payUpdateTime) {
        this.payUpdateTime = payUpdateTime;
    }
    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
    public String getOther1() {
        return other1;
    }

    public void setOther1(String other1) {
        this.other1 = other1;
    }
    public String getOther2() {
        return other2;
    }

    public void setOther2(String other2) {
        this.other2 = other2;
    }

    @Override
    public String toString() {
        return "Flow{" +
            "flowId=" + flowId +
            ", flowNumber=" + flowNumber +
            ", orderId=" + orderId +
            ", custId=" + custId +
            ", payPrice=" + payPrice +
            ", payCreateTime=" + payCreateTime +
            ", payUpdateTime=" + payUpdateTime +
            ", status=" + status +
            ", other1=" + other1 +
            ", other2=" + other2 +
        "}";
    }
}
